# -*- Mode: mutt -*-


# Caches
set header_cache='~/.mutt/.cache/headercache'
set message_cachedir='~/.mutt/.cache/messagecache'
set certificate_file='~/.mutt/.cache/certificates'


# Automatic viewing html
auto_view text/html


# Sync and check intervals
set read_inc = 100
set mail_check = 90
set timeout = 15


# Futher config
set tmpdir=~/.mutt/tmp
set mailcap_path=~/.mutt/etc/mailcap
set abort_nosubject = ask-yes
set abort_unmodified = yes
set delete = ask-yes
set editor="emacs -nw"
set content_type = 'text/plain'
set mark_old = no
set sort = threads
set sort_aux = reverse-last-date-received
set pager_index_lines = 15


# Sidebar
macro index b '<enter-command>toggle sidebar_visible<enter>'
macro pager b '<enter-command>toggle sidebar_visible<enter>'
bind index \CP sidebar-prev
bind index \CN sidebar-next
bind index \CO sidebar-open
bind pager \CP sidebar-prev
bind pager \CN sidebar-next
bind pager \CO sidebar-open
color sidebar_new yellow default


# set sidebar_width=30
# set sidebar_delim   = '  │'
# set sidebar_visible = yes
